{% load javascript %}

<div id='{{model}}_{{comment.id}}' class='compact_comment_row'>
    <div class='intro'>
        <div class='comment_author'>
            By {{comment.user.username}}
        </div>
        <div id='{{model}}_{{comment.id}}_vote_wrapper' class='voting vote_compact'>
            {% with comment as node %}
            {% with "compact" as vote_class %}
                {% include "django_multivoting/standard_vote.html" %}
            {% endwith %}
            {% endwith %}
        </div>
        <div class='comment_toggle'>
            <a id='toggle_comment_{{comment.id}}' href='#'>Show</a>
            {% toggle_div toggle_comment_ comment.id comment_body_ comment.id Show Hide %}
        </div>
    </div>
    <div id='comment_body_{{comment.id}}' class='body' style='display: none;'>
        {{comment.content}}
    </div>
</div>
